home *** CD-ROM | disk | FTP | other *** search
/ Freelog 125 / Freelog_MarsAvril2015_No125.iso / ViePratique / gnucash / gnucash-2.6.5-setup.exe / {app} / share / themes / MurrinaChrome / gtk-2.0 / gtkrc
Text File  |  2009-07-09  |  13KB  |  439 lines

  1. gtk_color_scheme = "fg_color:#050505\nbg_color:#E1ECF9\nbase_color:#FFFFFF\ntext_color:#000000\nselected_bg_color:#95BEF0\nselected_fg_color:#FFFFFF\ntooltip_bg_color:#F5F5C9\ntooltip_fg_color:#000000"
  2.  
  3. # menu delay
  4. #gtk-menu-popup-delay = 0
  5.  
  6. # icon sizes
  7. #gtk-icon-sizes = "gtk-menu=16,16:\ngtk-button=16,16:\ngtk-dnd=16,16:\npanel-menu=16,16:\npanel=16,16:\ngtk-dialog=16,16:"
  8.  
  9. # icon sizes (small toolbar)
  10. # gtk-icon-sizes = "gtk-menu=16,16:\ngtk-button=16,16:\ngtk-dnd=16,16:\npanel-menu=16,16:\npanel=16,16:\ngtk-dialog=16,16:\ngtk-small-toolbar=16,16:\ngtk-large-toolbar=16,16:"
  11.  
  12. style "murrine-default"
  13. {
  14.     ########
  15.     # Style Properties
  16.     ########
  17.     GtkButton      ::child-displacement-x = 1
  18.     GtkButton      ::child-displacement-y = 1
  19.     GtkButton      ::default-border       = { 0, 0, 0, 0 }
  20.     GtkCheckButton ::indicator-size       = 14
  21.  
  22.     GtkPaned       ::handle-size          = 6
  23.  
  24.     GtkRange       ::trough-border        = 0
  25.     GtkRange       ::slider-width         = 15
  26.     GtkRange       ::stepper-size         = 15
  27.  
  28.     GtkScale       ::slider-length        = 15
  29.     GtkScale       ::trough-side-details  = 0
  30.     GtkScrollbar   ::min-slider-length    = 30
  31.  
  32.     GtkMenuBar     ::internal-padding     = 0
  33.     GtkExpander    ::expander-size        = 16
  34.     GtkToolbar     ::internal-padding     = 0
  35.     GtkTreeView    ::expander-size        = 14
  36.     GtkTreeView    ::vertical-separator   = 0
  37.  
  38.     GtkMenu        ::horizontal-padding   = 0
  39.     GtkMenu        ::vertical-padding     = 0
  40.  
  41.     GtkMenuBar     ::shadow_type          = GTK_SHADOW_NONE
  42.     GtkToolbar     ::shadow_type          = GTK_SHADOW_NONE
  43.  
  44.     # Glow the tasklist by changing the color, instead of overlaying it with a rectangle
  45.     #WnckTasklist   ::fade-overlay-rect    = 0
  46.  
  47.     xthickness = 1
  48.     ythickness = 1
  49.  
  50.  
  51.     fg[NORMAL]        = @fg_color
  52.     fg[PRELIGHT]      = @fg_color
  53.     fg[SELECTED]      = @selected_fg_color
  54.     fg[ACTIVE]        = @fg_color
  55.     fg[INSENSITIVE]   = darker (@bg_color)
  56.  
  57.     bg[NORMAL]        = @bg_color
  58.     bg[PRELIGHT]      = shade (1.02, @bg_color)
  59.     bg[SELECTED]      = @selected_bg_color
  60.     bg[INSENSITIVE]   = @bg_color
  61.     bg[ACTIVE]        = shade (0.9, @bg_color)
  62.  
  63.     base[NORMAL]      = @base_color
  64.     base[PRELIGHT]    = shade (0.95, @bg_color)
  65.     base[ACTIVE]      = shade (0.88, @selected_bg_color)
  66.     base[SELECTED]    = shade (0.89, @selected_bg_color)
  67.     base[INSENSITIVE] = @bg_color
  68.  
  69.     text[NORMAL]      = @text_color
  70.     text[PRELIGHT]    = @text_color
  71.     text[ACTIVE]      = @selected_fg_color
  72.     text[SELECTED]    = @selected_fg_color
  73.     text[INSENSITIVE] = darker (@bg_color)
  74.  
  75.     engine "murrine" 
  76.     {
  77.         animation           = TRUE
  78.         colorize_scrollbar  = FALSE
  79.         contrast            = 0.65   # 0.8 for less contrast, more than 1.0 for more contrast on borders
  80.         glazestyle          = 0     # 0 = flat highlight, 1 = curved highlight, 2 = concave style, 3 = top curved highlight, 4 = beryl highlight
  81.         gradient_shades     = {1.03,1.0,1.0,0.985}
  82.         #gradient_shades     = {1.09,1.06,1.04,1.01} # default: {1.1,1.0,1.0,1.1}
  83.         gradients           = TRUE  # FALSE = disabled, TRUE = enabled
  84.         highlight_ratio     = 1.0  # set highlight amount for buttons or widgets
  85.         lightborder_ratio   = 1.06   # sets lightborder amount for buttons or widgets
  86.         #lightborderstyle    = 0     # 0 = lightborder on top side, 1 = lightborder on all sides
  87.         listviewheaderstyle = 1     # 0 = flat, 1 = glassy, 2 = raised
  88.         listviewstyle       = 1     # 0 = nothing, 1 = dotted
  89.         menubaritemstyle    = 0     # 0 = menuitem look, 1 = button look
  90.         menubarstyle        = 0     # 0 = flat, 1 = glassy, 2 = gradient, 3 = striped
  91.         menuitemstyle       = 1     # 0 = flat, 1 = glassy, 2 = striped
  92.         menustyle           = 0     # 0 = no vertical menu stripe, 1 = display vertical menu stripe
  93.         reliefstyle        = 0     # 0 = flat, 1 = inset, 2 = shadow
  94.         rgba            = TRUE  # FALSE = disabled, TRUE = enabled
  95.         roundness           = 4     # 0 = squared, 1 = old default, more will increase roundness
  96.         scrollbarstyle      = 0     # 0 = nothing, 1 = circles, 2 = handles, 3 = diagonal stripes, 4 = diagonal stripes and handles, 5 = horizontal stripes, 6 = horizontal stripes and handles
  97.         sliderstyle         = 0     # 0 = nothing added, 1 = handles
  98.         stepperstyle        = 0     # 0 = standard, 1 = integrated stepper handles, 2 = unknown
  99.         toolbarstyle        = 0     # 0 = flat, 1 = glassy, 2 = gradient
  100.     }
  101. }
  102.  
  103. style "murrine-wide"
  104. {
  105.     xthickness = 2
  106.     ythickness = 2
  107.  
  108.     bg[SELECTED]    = @selected_bg_color
  109. }
  110.  
  111. style "murrine-wider"
  112. {
  113.     xthickness = 3
  114.     ythickness = 3
  115.  
  116.     bg[SELECTED]    = @selected_bg_color
  117. }
  118.  
  119. style "murrine-button" = "murrine-wider"
  120. {
  121.     bg[NORMAL]      = shade (1.04, @bg_color)
  122.     bg[PRELIGHT]    = shade (1.06, @bg_color)
  123.     bg[ACTIVE]      = shade (1.02, @bg_color)
  124.     bg[INSENSITIVE] = shade (1.0, @bg_color)
  125.  
  126.     engine "murrine" {
  127.         contrast            = 0.45
  128.     }
  129. }
  130.  
  131. style "murrine-entry" = "murrine-wider"
  132. {
  133.     engine "murrine" {
  134.         contrast            = 0.35
  135.     }
  136. }
  137. style "murrine-notebook"
  138. {
  139.     xthickness = 2
  140.     ythickness = 2
  141.  
  142.     bg[ACTIVE]   = shade (0.99, @bg_color)
  143.     bg[NORMAL]   = shade (1.03, @bg_color)
  144.     bg[SELECTED] = @selected_bg_color
  145.     fg[ACTIVE]   = shade (0.34, @bg_color)
  146. }
  147.  
  148. style "murrine-tasklist" = "murrine-wide"
  149. {
  150. }
  151.  
  152. style "murrine-menu" = "murrine-wider"
  153. {
  154.     xthickness = 3
  155.     ythickness = 3
  156.  
  157.     bg[NORMAL] = shade (1.18, @bg_color)
  158. }
  159.  
  160. style "murrine-menu-item" = "murrine-wider"
  161. {
  162.     xthickness = 2
  163.     ythickness = 3
  164.  
  165.     fg[PRELIGHT] = @selected_fg_color
  166.     bg[SELECTED] = shade (0.95, @selected_bg_color)
  167.     bg[SELECTED] = shade (0.95, @selected_bg_color)
  168.  
  169.     engine "murrine" 
  170.     {
  171.         roundness = 3
  172.     }
  173. }
  174.  
  175. style "murrine-separator-menu-item"
  176. {
  177. }
  178.  
  179. style "murrine-treeview"
  180. {
  181.     bg[SELECTED] = @selected_bg_color
  182. }
  183.  
  184. style "murrine-treeview-header" = "murrine-default"
  185. {
  186.     bg[NORMAL]   = shade (1.06,@bg_color)
  187.     bg[PRELIGHT] = shade (1.06,@bg_color)
  188. }
  189.  
  190. style "murrine-frame-title"
  191. {
  192.     fg[NORMAL] = lighter (@fg_color)
  193. }
  194.  
  195. style "murrine-tooltips" = "murrine-wider"
  196. {
  197.     bg[NORMAL] = @tooltip_bg_color
  198.     fg[NORMAL] = @tooltip_fg_color
  199. }
  200.  
  201. style "murrine-progressbar"
  202. {
  203.     xthickness = 0
  204.     ythickness = 0
  205.  
  206.     fg[PRELIGHT] = @selected_fg_color
  207.     bg[NORMAL]   = shade (0.98, @bg_color)
  208.     bg[SELECTED] = @selected_bg_color
  209. }
  210.  
  211. style "murrine-statusbar"
  212. {
  213. }
  214.  
  215. style "murrine-comboboxentry"
  216. {
  217. }
  218.  
  219. style "murrine-spinbutton"
  220. {
  221. }
  222.  
  223. style "murrine-scale" = "murrine-button"
  224. {
  225.     GtkRange       ::slider-width         = 15
  226.  
  227.     engine "murrine" 
  228.     {
  229.         roundness = 6
  230.     }
  231. }
  232.  
  233. style "murrine-hscale"
  234. {
  235. }
  236.  
  237. style "murrine-vscale"
  238. {
  239. }
  240.  
  241. style "murrine-scrollbar"
  242. {
  243.     bg[NORMAL]      = shade (1.04, @bg_color)
  244.     bg[PRELIGHT]    = shade (1.06, @bg_color)
  245.     bg[ACTIVE]      = shade (1.02, @bg_color)
  246.     bg[INSENSITIVE] = shade (1.0, @bg_color)
  247. }
  248.  
  249. style "murrine-hscrollbar"
  250. {
  251. }
  252.  
  253. style "murrine-vscrollbar"
  254. {
  255. }
  256.  
  257. style "murrine-menubar"
  258. {
  259. }
  260.  
  261. style "murrine-nautilus-location"
  262. {
  263. #    bg[NORMAL] = shade (1.0,@selected_bg_color)
  264. #    bg[SELECTED] = shade (1.0,@selected_bg_color)
  265. #    bg[ACTIVE] = shade (1.0,@selected_bg_color)
  266. }
  267.  
  268. style "murrine-radiocheck" = "murrine-default"
  269. {
  270.     text[NORMAL]    = "#FFFFFF"
  271.     text[PRELIGHT]    = "#FFFFFF"
  272. }
  273.  
  274. style "panel"
  275. {
  276.     fg[NORMAL]   = "#FFFFFF"
  277.     fg[PRELIGHT] = "#FFFFFF"
  278.     fg[ACTIVE]   = "#FFFFFF"
  279.     bg[NORMAL]   = shade (0.4, @bg_color)
  280.     bg[ACTIVE]   = shade (0.5, @bg_color)
  281.     bg[PRELIGHT] = shade (0.56, @bg_color)
  282.  
  283.     engine "murrine" {
  284.         contrast = 0.8
  285.     }
  286. }
  287.  
  288. style "smaller-text"
  289. {
  290.     font_name = "7"
  291. }
  292.  
  293. style "handle"
  294. {
  295.     bg[NORMAL] = "#232323"
  296. }
  297.  
  298. #########################################
  299. # Matches
  300. #########################################
  301.  
  302. # theme radio buttons and checkmarks
  303. class "GtkRadio*"                            style "murrine-radiocheck"
  304. class "GtkCheck*"                               style "murrine-radiocheck"
  305.  
  306. # theme default style is applied to every widget
  307. class "GtkWidget"                    style "murrine-default"
  308.  
  309. # Increase the x/ythickness in some widgets
  310. class "GtkToolbar"                   style "murrine-default" 
  311. class "GtkRange"                     style "murrine-wide"
  312. class "GtkFrame"                     style "murrine-wide"
  313. class "GtkSeparator"                 style "murrine-wide"
  314. class "GtkEntry"                     style "murrine-entry"
  315.  
  316. class "GtkSpinButton"                  style "murrine-spinbutton"
  317. class "GtkScale"                       style "murrine-scale"
  318. class "GtkVScale"                      style "murrine-vscale"
  319. class "GtkHScale"                      style "murrine-hscale"
  320. class "GtkScrollbar"                   style "murrine-scrollbar"
  321. class "GtkVScrollbar"                  style "murrine-vscrollbar"
  322. class "GtkHScrollbar"                  style "murrine-hscrollbar"
  323.  
  324. # General matching following, the order is choosen so that the right styles override each other
  325. # eg. progressbar needs to be more important then the menu match.
  326.  
  327. # This is not perfect, it could be done better
  328. # (That is modify *every* widget in the notebook, and change those back that
  329. # we really don't want changed)
  330. widget_class "*<GtkNotebook>*<GtkEventBox>"     style "murrine-notebook"
  331. widget_class "*<GtkNotebook>*<GtkDrawingArea>"  style "murrine-notebook"
  332. widget_class "*<GtkNotebook>*<GtkLayout>"       style "murrine-notebook"
  333. widget_class "*<GtkNotebook>*<GtkLabel>"  style "murrine-notebook"
  334.  
  335. widget_class "*<GtkButton>"              style "murrine-button"
  336. widget_class "*<GtkNotebook>"            style "murrine-notebook"
  337. widget_class "*<GtkStatusbar>*"          style "murrine-statusbar"
  338.  
  339. widget_class "*<GtkComboBoxEntry>*"        style "murrine-comboboxentry"
  340. widget_class "*<GtkCombo>*"                 style "murrine-comboboxentry"
  341.  
  342. widget_class "*<GtkMenuBar>*"               style "murrine-menubar"
  343. widget_class "*<GtkMenu>*"                  style "murrine-menu"
  344. widget_class "*<GtkMenuItem>*"              style "murrine-menu-item"
  345. widget_class "*<GtkSeparatorMenuItem>*"     style "murrine-separator-menu-item"
  346.  
  347. widget_class "*.<GtkFrame>.<GtkLabel>"         style "murrine-frame-title"
  348. widget_class "*.<GtkTreeView>*"                style "murrine-treeview"
  349.  
  350. widget_class "*<GtkProgressBar>"               style "murrine-progressbar"
  351.  
  352. # Treeview header
  353. widget_class "*.<GtkTreeView>.<GtkButton>"     style "murrine-treeview-header"
  354. widget_class "*.<GtkCTree>.<GtkButton>"        style "murrine-treeview-header"
  355. widget_class "*.<GtkList>.<GtkButton>"         style "murrine-treeview-header"
  356. widget_class "*.<GtkCList>.<GtkButton>"        style "murrine-treeview-header"
  357.  
  358. # Workarounds for Evolution
  359. widget_class "*.ETable.ECanvas"            style "murrine-treeview-header"
  360. widget_class "*.ETree.ECanvas"            style "murrine-treeview-header"
  361.  
  362. # Panel style
  363. class "*Panel*" style "panel"
  364. class "*notif*" style "panel"
  365. class "*Notif*" style "panel"
  366. class "*Tray*" style "panel"
  367. class "*tray*" style "panel"
  368.  
  369. widget_class "*ToolButton*" style "smaller-text"
  370. widget_class "*Statusbar*" style "smaller-text"
  371. widget_class "*Mail*" style "panel"
  372. widget "*PanelWidget*" style "panel"
  373. widget "*PanelApplet*" style "panel"
  374.  
  375. class "PanelAppletFrame" style "handle"
  376.  
  377. # The window of the tooltip is called "gtk-tooltip"
  378. ################################
  379. # FIXME:
  380. # This will not work if one embeds eg. a button into the tooltip.
  381. # As far as I can tell right now we will need to rework the theme
  382. # quite a bit to get this working correctly.
  383. # (It will involve setting different priorities, etc.)
  384. ################################
  385. widget "gtk-tooltip*"                 style "murrine-tooltips"
  386.  
  387. ###################################################
  388. # Special cases and work arounds
  389. ###################################################
  390.  
  391. # Special case the nautilus-extra-view-widget
  392. # ToDo: A more generic approach for all applications that have a widget like this.
  393. widget "*.nautilus-extra-view-widget"         style : highest "murrine-nautilus-location"
  394.  
  395. # Work around for http://bugzilla.gnome.org/show_bug.cgi?id=382646
  396. # Note that the work around assumes that the combobox is _not_ in
  397. # appears-as-list mode.
  398. # Similar hack also in the menuitem style.
  399. # This style does not affect GtkComboBoxEntry, it does have an effect
  400. # on comboboxes in appears-as-list mode though.
  401. style "murrine-combobox-text-color-workaround"
  402. {
  403.     text[NORMAL]      = @fg_color
  404.     text[PRELIGHT]    = @fg_color
  405.     text[SELECTED]    = @selected_fg_color
  406.     text[ACTIVE]      = @fg_color
  407.     text[INSENSITIVE] = darker (@bg_color)
  408. }
  409. widget_class "*.<GtkComboBox>.<GtkCellView>"    style "murrine-combobox-text-color-workaround"
  410.  
  411. style "murrine-menuitem-text-is-fg-color-workaround"
  412. {
  413.     text[NORMAL]        = @fg_color
  414.     text[PRELIGHT]      = @selected_fg_color
  415.     text[SELECTED]      = @selected_fg_color
  416.     text[ACTIVE]        = @fg_color
  417.     text[INSENSITIVE]   = darker (@bg_color)
  418. }
  419.  
  420. widget "*.gtk-combobox-popup-menu.*"               style "murrine-menuitem-text-is-fg-color-workaround"
  421.  
  422. # Work around the usage of GtkLabel inside GtkListItems to display text.
  423. # This breaks because the label is shown on a background that is based on the
  424. # base color set.
  425. style "murrine-fg-is-text-color-workaround"
  426. {
  427.     fg[NORMAL]      = @text_color
  428.     fg[PRELIGHT]    = @text_color
  429.     fg[ACTIVE]      = @selected_fg_color
  430.     fg[SELECTED]    = @selected_fg_color
  431.     fg[INSENSITIVE] = darker (@bg_color)
  432. }
  433.  
  434. widget_class "*<GtkListItem>*"                 style "murrine-fg-is-text-color-workaround"
  435. # The same problem also exists for GtkCList and GtkCTree
  436. # Only match GtkCList and not the parent widgets, because that would also change the headers.
  437.  
  438. widget_class "*<GtkCList>"                 style "murrine-fg-is-text-color-workaround"
  439.